package com.qf.purchasing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(description = "审核表")
@Data
@TableName(value = "z_audit")
public class Audit {
    public static final String COL_AUDIT_ID = "audit_id";
    public static final String COL_AGENT_ID = "agent_id";
    public static final String COL_APPLY_ID = "apply_id";
    public static final String COL_IS_AUDIT = "is_audit";
    public static final String COL_STATUS = "status";
    /**
     * 审核id
     */
    @TableId(value = "audit_id", type = IdType.INPUT)
    @ApiModelProperty(value = "审核id")
    private Integer auditId;
    /**
     * 经办人id
     */
    @TableField(value = "agent_id")
    @ApiModelProperty(value = "经办人id")
    private Integer agentId;
    /**
     * 申请表id
     */
    @TableField(value = "apply_id")
    @ApiModelProperty(value = "申请表id")
    private Integer applyId;
    /**
     * 是否审核
     */
    @TableField(value = "is_audit")
    @ApiModelProperty(value = "是否审核")
    private Integer isAudit;
    /**
     * 状态，0：已删除， 1：未删除
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "状态，0：已删除， 1：未删除")
    private Integer status;
}